package com.contest.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.contest.entity.SysMenu;
import com.contest.util.MenuTree;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author yfl
 * @email 617823298@qq.com
 * @date 2017-12-20 16:26:23
 */
public interface SysMenuService extends IService<SysMenu> {
    /**
     * 构建菜单
     * @param fdId 角色id
     * @return
     */
    List<MenuTree<SysMenu>> buildMenu(String fdId);

    Page<SysMenu> selectListByPage(Page<SysMenu> mPage);
}
